﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_AdminTimeManage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session["StudIdcard"] != null)
            {
                bindDataTable();
            }
        }
    }

    private void bindDataTable()
    {
        DataTable dt = Exam.ExamTime_GetTopList();
        gv.DataSource = dt;
        gv.DataBind();
    }
}